PageSpinner

PageSpinner TechNotes

Subject:  PageSpinner TechNotes
Contents: Information about file formats 
          for modifications of PageSpinner default settings
Usage :   Not recommended

  1. Changing Colors in the Editor
  2. Customizing the Web Tools Menu
  3. Additional User Tags


Changing Colors in the Editor

You can change the color, font, size or style used by the editor to display the contents inside a special tag pair. Create a backup copy of the file HTML Tags located in PageSpinners "Settings" Folder. Open the file HTML Tags with another text editor such as SimpleText.

Example of contents in file HTML Tags: <A> </A> 527 4 0 2 4 <CENTER> </CENTER> 543 0 0 0 12 <CODE> </CODE> 581 Code directive 0 9 0 Monaco 0 Number 4 in the <A> row is the style code (bold, italics etc), change this to 0 for no style.
Number 0 means no size change, you may change this to a size in points.
Number 2 is the color code for blue (they are numbered as they appear in the color menu so changing this to 6 will make it red).
The last number in the row is the color code that should be used for the TAG.
A more detailed description of the contents is in the table below.

Be careful not to delete or add any tab or returns!
Restart PageSpinner.
If PageSpinner crash at startup restore the backup file and try again.
You will have to do is for every new relase since the contents in the HTML Tags file may change.

Tag info Description Example
1 Start tag The ª character indicates a line break <CODE>
2 End tag May be empty </CODE>
3 Internal number Don't change this 581
4 Comment Not needed Code tag
5 Style code Integer value for the style to be used for text inside a tag pair

0 Plain
1 Bold
2 Italics
4 Underlined
8 Outlined
16 Shadowed
32 Condensed
64 Extended
It is possible to combine styles by adding the values, e g the value 5 (1+4) gives bold and underlined text in the editor.
0
6 Font size 0 means no change - other values are size in points, think these must be > 4 9
7 Color of contents between tag pairs One of the following color codes (0-16):
0 No change
1 Black
2 Blue
3 Cyan
4 Green
5 Lt Green
6 Red
7 Lt Red
8 Yellow
9 Lt yellow
10 Brown
11 Lt brown
12 Deep Purple
13 Magenta
14 Dark gray
15 Lt gray
16 White (useless)
0
8 Fontname Name of the font to be used for text inside a tag pair, if this is empty no change will be made Monaco
9 Color of the tag One of the following color codes (0-16):
0 Default tag color (selected in the Preferences)
0


Customizing the Web Tools Menu

The Web Tools Menu can be modified with a text editor such as SimpleText.
Open the file "Web Tools Menu" in the "Settings:WebTools" folder.
Every line is a menu item and contains:

[The creator code for the app] SPACE [The name in the menu]

Change or add a line if you want to add another application.
Restart PageSpinner.
If PageSpinner crash at startup restore the backup file and try again.

Note:
The creator code consists of 4 characters - you can find out the code for an application by using ResEdit.

It must be a space (and not a tab) after the creator code.

To insert a line in the menu: add a row with five spaces and a - character
"     -"


Additional User Tags

If you need to use more than the 18 available user tags you can add additional items to the menu by editing the text file "PageSpinner User Tags" located inside the systems Preferences folder. Before you try this, make a backup of the original file in case you damage the file.

Open the file "PageSpinner User Tags" after you have launched PageSpinner. You can open and edit the file with PageSpinner (or another text editor such as Simple Text).

Copy the first line of text and paste this new line for every additional entry you need. Each line consists of:

Name of tag [TAB] Start tag [TAB] End Tag

Do not change the contents of a line. Save and close the file and quit PageSpinner. The next time you launch PageSpinner the additional entries will be available in the User Tag menu. If you are having problems you should restore the backup of the original file and try again.



© 1995-1997 Optima System. All rights reserved.